﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestFulService
{
    public class c_postran
    {
        public string orderSource { get; set; }
        public string posOrderType { get; set; }
        public string Sellway { get; set; }
        public string ShiftNumber { get; set; }
        public string tranNumber { get; set; }
        public int usePromotion { get; set; }
        public int needTableware { get; set; }

        public Boolean shareCouponAndPromotion { get; set; }

        public string productInfoJson { get; set; }
        public string hposPayInfoJson { get; set; }

        public string promotionInfoJson { get; set; }
        public string couponInfoJson { get; set; }
        public int deductionPoint { get; set; }
        public int totalPrice { get; set; }
        public int totalDiscount { get; set; }
        public int totalComboDiscount { get; set; }
        public int totalCouponAmount { get; set; }
        public int totalPoint { get; set; }
        public int totalFreight { get; set; }
        public int packageFee { get; set; }
        public int payPrice { get; set; }
        public int memberPoint { get; set; }
        public int memberPointBrand { get; set; }
        public int givePoint { get; set; }
        public int givePointBrand { get; set; }
        public int giveXjPoint { get; set; }
        public int giveXjPointBrand { get; set; }
        public int promotionDiscount { get; set; }

        public string remark { get; set; }
        public string storeId { get; set; }
        public string cashierId { get; set; }
        public string posNo { get; set; }
        public string ReasonNo { get; set; }

        public class trandtl
        {
            public string customerCode { get; set; }
            public string pluName { get; set; }
            public decimal pluPrice { get; set; }
            public int qty { get; set; }
            public string type { get; set; }
            public decimal slamt { get; set; }
            public decimal disamt { get; set; }
            public decimal rlamt { get; set; }
            public string mmno { get; set; }
            public decimal jjamt { get; set; }
            public decimal disitemamt { get; set; }
        }
        public class tranpay
        {
            public string orderid { get; set; }
            public int code { get; set; }
            public int paychannel { get; set; }
            public decimal payprice { get; set; }
        }

    }

}
